#ifndef FINDANDREPLACE_H
#define FINDANDREPLACE_H

#include <QDialog>
class QTextEdit;
namespace Ui {
class FindAndReplace;
}

class FindAndReplace : public QDialog
{
    Q_OBJECT

public:
    explicit FindAndReplace(QWidget *parent,QTextEdit* _target);
    ~FindAndReplace();

public slots:
    void findPre();
    void findNext();

private:
    QTextEdit* target;
    Ui::FindAndReplace *ui;
};

#endif // FINDANDREPLACE_H
